package com.llyb.tingshu.payment.service;

import com.llyb.tingshu.model.payment.PaymentInfo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.wechat.pay.java.service.payments.model.Transaction;

import java.math.BigDecimal;

public interface PaymentInfoService extends IService<PaymentInfo> {

    void savePaymentInfo(String paymentType, String orderNo, Long userId, BigDecimal totalAmount);

    void updatePaymentStatus(Transaction result);

}
